void main() {
//  var jsonData = JSon.decode('{"x":1, "y":2}');
//  print(jsonData);
  var person = new Person();
  person
    ..age = 10
    ..name = "aaa";
  person(); /*调用call*/
}

class Person {
  String name;
  int age;

  void call() {
    print("$name->$age");
  }
}
